#include #include #define max 100000 int DoiMotKhacNhau(int a[], int n) { int *t=new int[max],d=0; for(int i=0;i